Skip to main content

DescribeMountTargets

Description

call the DescribeMountTargets interface to query mount point information.

Request Method

POST

Request Path

/apsara/route/NAS/DescribeMountTargets

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
PageSizeBODYintegerNo1the number of mount points contained in each page. value range: 1~100 default value: 10
MountTargetDomainBODYstringNo1ca404a666-x****.cn-hangzhou.nas.aliyuncs.commount point domain name.
PageNumberBODYintegerNo1paging page number of the list. starting value (default):1
regionIdBODYstringYesNo sample value for this parameter.region id
FileSystemIdBODYstringYes1ca404****file system ID.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
StatusstringActivecurrent mount point status. Includes: Active: Available Inactive: not available Description The file system can only be mounted when the status is Active.
TotalCountinteger1the total number of mount points.
VpcIdstringvpc-2zesj9afh3y518k9o****proprietary network ID.
VswIdstringvsw-2zevmwkwyztjuoffg****switch ID.
PageSizeinteger1the number of mount points contained in each page.
RequestIdstring3BAB90FD-B4A0-48DA-9F09-2B963510A0EFrequest ID.
MountTargetDomainstring1ca404a666-w****.cn-hangzhou.nas.aliyuncs.commount point domain name.
PageNumberinteger1paging page number of the list.
AccessGroupstringDEFAULT_VPC_GROUP_NAMEthe name of the permission group applied to the mount point.
NetworkTypestringVpcnetwork type.
MountTargetsarray of mounttargetNo sample value for this parameter.mount point description information set.
MountTargetNo sample value for this parameter.No description for this parameter.

Example

Successful Response example

{
"Status":"Active",
"TotalCount":"1",
"VpcId":"vpc-2zesj9afh3y518k9o****",
"VswId":"vsw-2zevmwkwyztjuoffg****",
"PageSize":"1",
"RequestId":"3BAB90FD-B4A0-48DA-9F09-2B963510A0EF",
"MountTargetDomain":"1ca404a666-w****.cn-hangzhou.nas.aliyuncs.com",
"PageNumber":"1",
"AccessGroup":"DEFAULT_VPC_GROUP_NAME",
"NetworkType":"Vpc",
"MountTargets":"",
"MountTarget":""
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}